<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>充值确认</title>
	<%@ include file="../common/common.jsp"%>
	<link rel="stylesheet" type="text/css" href="${ctx}/page/lib/other/css/main.css" />
</head>
<body>

<div class="line padding border-bottom">
	<div class="xs3 text-center">充值编号:</div>
	<div class="xs9">${mobileFareOrder.orderNo}</div>
</div>
<div class="line padding border-bottom">
	<div class="xs3 text-center ">用户ID:</div>
	<div class="xs9">${mobileFareOrder.cardNo}</div>
</div>
<div class="line padding  border-bottom">
	<div class="xs3 text-center">充值金额: </div>
	<div class="xs9"><fmt:formatNumber type="number" value="${mobileFareOrder.value}" pattern="0.00" maxFractionDigits="2"/>&nbsp;贝币</div>
</div>
<div class="line padding border-bottom">
	<div class="xs3 text-center">支付金额:</div>
	<div id="payAmount" class="xs9"><fmt:formatNumber type="number" value="${mobileFareOrder.payAmount}" pattern="0.00" maxFractionDigits="2"/>&nbsp;元</div>
</div>
<div class="line padding border-bottom">
	<div class="xs3 text-center">温馨提示:</div>
	<div class="xs9">有任何问题，请联系客服微信号：1046566144</div>
</div>

<div class="" style="height:30px;"></div>
<div class="margin">
	<button class="button bg-green button-big button-block" onclick="gopay()">微信支付</button>
</div>

<input id="orderNo" type="hidden" value="${mobileFareOrder.orderNo}">
<script type="text/javascript">
	function gopay(){
		var orderNo = $("#orderNo").val();
		window.location.href=mServerUrl+"/page/wxPayPage.htm?orderNo="+orderNo+"&time="+((new Date()).getTime());
		
	}
</script>
</body>
</html>